<%@ WebService Language="C#" Class="MyDNS.MyDnsUpdate" %>
using System.ComponentModel;
using System.Web.Services;
using System.IO;
using System;
using System.Web;

namespace MyDNS
{
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [ToolboxItem(false)]
    public class MyDnsUpdate : System.Web.Services.WebService
    {
        [WebMethod]
        public string HelloWorld(string fileName)
        {
            hiednsLib.DnsModifyClass hiedns = new hiednsLib.DnsModifyClass();
            hiedns.SetDnsSvr("ptdvr.com", "103.30.43.31", 1);
            int ret = hiedns.Hie_DnsModify("dc07c1fc3556", "dc07c1fc3556", "1.1.1.1", 0);
            return ret.ToString();
        }
    }
}
